package com.atguigu.user.client.impl;

import com.atguigu.user.client.PatientFeignClient;
import com.atguigu.yygh.common.result.Result;
import com.atguigu.yygh.model.model.user.Patient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PatientFeignClientImpl implements PatientFeignClient {

    private Logger log = LoggerFactory.getLogger(PatientFeignClientImpl.class);

    @Override
    public Patient getPatientOrder(Long id) {
        log.info("调用{}失败", "getPatientOrder");
        Result<Object> result = new Result<>();
        result.setMessage("调用getPatientOrder接口失败");
        return new Patient();
    }


}
